﻿//using Abp.Authorization;
//using Abp.Webhooks;
//using Mt.Site.Core.Authorization;
//using System;
//using System.Threading.Tasks;

//namespace Mt.Site.Application.WebHooks
//{
//    [AbpAuthorize(AppPermissions.Pages_Administration_WebhookSubscription)]
//    public class WebhookEventAppService : MtSiteAppServiceBase, IWebhookEventAppService
//    {
//        private readonly IWebhookEventStore _webhookEventStore;

//        public WebhookEventAppService(IWebhookEventStore webhookEventStore)
//        {
//            _webhookEventStore = webhookEventStore;
//        }

//        public async Task<WebhookEvent> Get(string id)
//        {
//            return await _webhookEventStore.GetAsync(AbpSession.TenantId, Guid.Parse(id));
//        }
//    }
//}
